package com.dianping.cat.core.dal;

import java.util.List;
import org.unidal.dal.jdbc.AbstractDao;
import org.unidal.dal.jdbc.DalException;
import org.unidal.dal.jdbc.Readset;
import org.unidal.dal.jdbc.Updateset;

public class DailyReportContentDao
  extends AbstractDao {
/* 11 */   public DailyReportContent createLocal() { return new DailyReportContent(); }





/* 17 */   public int deleteByPK(DailyReportContent proto) throws DalException { return getQueryEngine().deleteSingle(DailyReportContentEntity.DELETE_BY_PK, proto); }




  public List<DailyReportContent> findOverloadReport(int startId, Readset<DailyReportContent> readset) throws DalException {
/* 23 */     DailyReportContent proto = new DailyReportContent();

/* 25 */     proto.setStartId(startId);

/* 27 */     return getQueryEngine().queryMultiple(DailyReportContentEntity.FIND_OVERLOAD_REPORT, proto, readset);
  }






  public DailyReportContent findByPK(int keyReportId, Readset<DailyReportContent> readset) throws DalException {
/* 36 */     DailyReportContent proto = new DailyReportContent();

/* 38 */     proto.setKeyReportId(keyReportId);

/* 40 */     return (DailyReportContent)getQueryEngine().querySingle(DailyReportContentEntity.FIND_BY_PK, proto, readset);
  }








/* 50 */   protected Class<?>[] getEntityClasses() { return new Class[] { DailyReportContentEntity.class }; }



/* 54 */   public int insert(DailyReportContent proto) throws DalException { return getQueryEngine().insertSingle(DailyReportContentEntity.INSERT, proto); }





/* 60 */   public int updateByPK(DailyReportContent proto, Updateset<DailyReportContent> updateset) throws DalException { return getQueryEngine().updateSingle(DailyReportContentEntity.UPDATE_BY_PK, proto, updateset); }
}


/* Location:              /Users/hanfei/Documents/apache-tomcat-9.0.24/webapps/cat/WEB-INF/lib/cat-core-3.0.0.jar!/com/dianping/cat/core/dal/DailyReportContentDao.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.0.7
 */